package test5.lupeng.jf.com.teamdemo.bean;


import android.os.Parcel;
import android.os.Parcelable;

//文章id，文章类型
public class RequestSend implements Parcelable{


    String articleId;
    Number articleType;

    public RequestSend(String articleId, Number articleType) {
        this.articleId = articleId;
        this.articleType = articleType;
    }

    protected RequestSend(Parcel in) {
        articleId = in.readString();
    }

    public static final Creator<RequestSend> CREATOR = new Creator<RequestSend>() {
        @Override
        public RequestSend createFromParcel(Parcel in) {
            return new RequestSend(in);
        }

        @Override
        public RequestSend[] newArray(int size) {
            return new RequestSend[size];
        }
    };

    public String getArticleId() {
        return articleId;
    }

    public void setArticleId(String articleId) {
        this.articleId = articleId;
    }

    public Number getArticleType() {
        return articleType;
    }

    public void setArticleType(Number articleType) {
        this.articleType = articleType;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(articleId);
    }
}
